/*
 * @Descripttion: 
 * @version: 
 * @Author: zhang jianjun
 * @Date: 2022-06-20 11:33:28
 * @LastEditors: zhang jianjun
 * @LastEditTime: 2022-06-20 13:43:29
 */
import { createRouter, createWebHashHistory } from 'vue-router'

const Tinymce = () => import( './views/Tinymce.vue')
const Quill = () => import( './views/Quill.vue')
const News = () => import( './views/News.vue')
const NewsContent = () => import( './views/NewsContent.vue')

const routes = [
  {path: '/', redirect: '/tinymce'},
  {path: '/Tinymce', component: Tinymce},
  {path: '/quill', component: Quill},
  {path: '/newscontent', component: NewsContent},
  {path: '/news', component: News},
]

const router = createRouter({
  history: createWebHashHistory(),
  routes, 
})

export default router